Blocklist apps
Blocklist user installed or system apps from managed devices.
Attribute
- ios
- android
- windows
[
{
"identifier": "com.manageengine.mdm.android",
"appgroupid": 123123213,
"platform": 1,
"appname": "Manageengine MDM"
}
]
Get the apps available for blocklisting
Apps available for blocklisting in the Inventory oauthscope : MDMOnDemand.MDMDeviceMgmt.GET
GET - /api/v1/mdm/blacklist/apps
curl --request GET \
--url https://www.mdm.manageengine.com/api/v1/mdm/blacklist/apps \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
HTTP/1.1 {
"apps": [
{
"identifier": "com.manageengine.mdm.android",
"appgroupid": 123123213,
"platform": 1,
"appname": "Manageengine MDM"
}
]
}
Add a new app to be blocklisted
Add a new app to the repository to be blocklisted oauthscope : MDMOnDemand.MDMDeviceMgmt.CREATE
POST - /api/v1/mdm/blacklist/apps
Arguments
- ios
- android
- windows
curl --request POST \
--url https://www.mdm.manageengine.com/api/v1/mdm/blacklist/apps \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"apps": [
{
"identifier": "com.manageengine.mdm.android",
"platform": 1,
"appname": "Manageengine MDM"
}
]
}
HTTP/1.1 {
"apps": [
{
"identifier": "com.manageengine.mdm.android",
"appgroupid": 123123213,
"platform": 1,
"appname": "Manageengine MDM"
}
]
}
Blocklist apps on devices
Blocklist apps on devices managed by MDM oauthscope : MDMOnDemand.MDMDeviceMgmt.CREATE
POST - /api/v1/mdm/blacklist/devices
Arguments
curl --request POST \
--url https://www.mdm.manageengine.com/api/v1/mdm/blacklist/devices \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"resource_ids": [
1,
2,
3
],
"app_group_ids": [
1,
2,
3
]
}
HTTP/1.1 {
"resource_ids": [
1,
2,
3
]
}
Remove blocklisted apps from devices
Remove blocklisted apps from devices managed by MDM oauthscope : MDMOnDemand.MDMDeviceMgmt.DELETE
DELETE - /api/v1/mdm/blacklist/devices
Arguments
curl --request DELETE \
--url https://www.mdm.manageengine.com/api/v1/mdm/blacklist/devices \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"resource_ids": [
1,
2,
3
],
"app_group_ids": [
1,
2,
3
]
}
HTTP/1.1 {
"resource_ids": [
1,
2,
3
]
}
Blocklist apps from Groups
Blocklist apps from Groups containing devices managed by MDM oauthscope : MDMOnDemand.MDMDeviceMgmt.CREATE
POST - /api/v1/mdm/blacklist/groups
Arguments
curl --request POST \
--url https://www.mdm.manageengine.com/api/v1/mdm/blacklist/groups \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"resource_ids": [
1,
2,
3
],
"app_group_ids": [
1,
2,
3
]
}
HTTP/1.1 {
"resource_ids": [
1,
2,
3
]
}
Remove blocklisted apps from Groups
Remove blocklisted apps from Groups oauthscope : MDMOnDemand.MDMDeviceMgmt.DELETE
DELETE - /api/v1/mdm/blacklist/groups
Arguments
curl --request DELETE \
--url https://www.mdm.manageengine.com/api/v1/mdm/blacklist/groups \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \
--header 'content-type: application/json' \
--data '{"field1":"value1","field2":"value2"}'
{
"resource_ids": [
1,
2,
3
],
"app_group_ids": [
1,
2,
3
]
}
HTTP/1.1 {
"resource_ids": [
1,
2,
3
]
}
Get blocklist status
Get the status of the blocklist action on devices oauthscope : MDMOnDemand.MDMDeviceMgmt.GET
GET - /api/v1/mdm/blacklist/status
curl --request GET \
--url https://www.mdm.manageengine.com/api/v1/mdm/blacklist/status \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
HTTP/1.1 {
"Blackliststatus": [
{
"status": 4,
"resourceId": 1232131232,
"identifier": "com.manageengine.mdm.android",
"appname": "Manageengine MDM"
}
]
}